//
//  JSDownloadDelegate.h
//  QMUI_TEST
//
//  Created by mac on 17/4/6.
//  Copyright © 2017年 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>

@class JSDownloadRequest;
@protocol JSDownloadDelegate <NSObject>
@optional
- (void)requestDownloadStart:(JSDownloadRequest *)request;
- (void)requestDownloading:(JSDownloadRequest *)request;
- (void)requestDownloadPause:(JSDownloadRequest *)request;
- (void)requestDownloadCancel:(JSDownloadRequest *)request;
- (void)requestDownloadFinish:(JSDownloadRequest *)request;
- (void)requestDownloadFaild:(JSDownloadRequest *)request aError:(NSError *)error;
// 正在进行的任务
- (void)requestDownloadList:(NSArray <JSDownloadRequest *>*)requestArray;

@end
